package com.zoer.domain;

// default package


/**
 * RecipeDetail entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class RecipeDetail implements java.io.Serializable {

	// Fields

	private String id;
	private Drug drug;
	private String recipeid;
	private double dosage;
	private String unit;
	private String frequency;
	private Integer days;
	private String tips;

	// private Set diseaseRecipes = new HashSet(0);

	// Constructors

	/** default constructor */
	public RecipeDetail() {
	}

	/** minimal constructor */
	public RecipeDetail(String id, String recipeid) {
		this.id = id;
		this.recipeid = recipeid;
	}

	/** full constructor */
	public RecipeDetail(String id, Drug drug, String recipeid, double dosage,
			String unit, String frequency, Integer days, String tips) {
		this.id = id;
		this.drug = drug;
		this.recipeid = recipeid;
		this.dosage = dosage;
		this.unit = unit;
		this.frequency = frequency;
		this.days = days;
		this.tips = tips;
		// this.diseaseRecipes = diseaseRecipes;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Drug getDrug() {
		return this.drug;
	}

	public void setDrug(Drug drug) {
		this.drug = drug;
	}

	public String getRecipeid() {
		return this.recipeid;
	}

	public void setRecipeid(String recipeid) {
		this.recipeid = recipeid;
	}

	public double getDosage() {
		return dosage;
	}

	public void setDosage(double dosage) {
		this.dosage = dosage;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getFrequency() {
		return this.frequency;
	}

	public void setFrequency(String frequency) {
		this.frequency = frequency;
	}

	public Integer getDays() {
		return this.days;
	}

	public void setDays(Integer days) {
		this.days = days;
	}

	public String getTips() {
		return this.tips;
	}

	public void setTips(String tips) {
		this.tips = tips;
	}

	// public Set getDiseaseRecipes() {
	// return this.diseaseRecipes;
	// }
	//    
	// public void setDiseaseRecipes(Set diseaseRecipes) {
	// this.diseaseRecipes = diseaseRecipes;
	// }
	//   

}